package com.cos.services.impl;

import com.cos.dao.SysUserMapper;
import com.cos.entity.SysUser;
import com.cos.services.SysUserServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: COS
 * @time: 2021/11/22 17:06
 * @description:
 */
@Service
public class SysUserServicesImpl implements SysUserServices {
    @Autowired
    private SysUserMapper userMapper;

    @Override
    public SysUser getUserByName(String username) {
        return userMapper.getUserByName(username);
    }
}
